package me.xiaoyan.java.chapter11;

import java.util.Scanner;

public class Traveller {
	/**
	 * 游客姓名
	 */
	String name;
	/**
	 * 游客年龄
	 */
	int age;
	
	/**
	 * 游客购票
	 */
	public void buyTicket(){
		System.out.println(name);
		System.out.println(age);
	}
	
}
